package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供货商对象 supplier
 * 
 * @author ruoyi
 * @date 2025-07-28
 */
public class Supplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 供货商联系人 */
    @Excel(name = "供货商联系人")
    private String name;


    /** 供货商手机号 */
    @Excel(name = "供货商手机号")
    private String phone;

    /** 状态1：正常 */
    @Excel(name = "状态1：正常")
    private String status;

    /** 登录密码 */
    @Excel(name = "登录密码")
    private String pwd;

    /** 供货商名称 */
    @Excel(name = "供货商名称")
    private String suppliName;

    /** 是否被删除1：已删除 */
    @Excel(name = "是否被删除1：已删除")
    private String isdel;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ctime;

    /** 审核时间 */
    @Excel(name = "审核时间")
    private String reviewTime;
    /** 地址 */
    @Excel(name = "地址")
    private String addr;

    /** 老板身份证照片-正面 */
    @Excel(name = "老板身份证照片-正面")
    private String cardZ;

    /** 老板身份证照片-反面 */
    @Excel(name = "老板身份证照片-反面")
    private String cardF;

    /** 执照照片 */
    @Excel(name = "执照照片")
    private String zz;

    /** 审核时的备注 */
    @Excel(name = "审核时的备注")
    private String reviewRemark;

    /** 平均服务评分 */
    @Excel(name = "平均服务评分")
    private Double starService;

    /** 质量评分 */
    @Excel(name = "质量评分")
    private Double starQuality;

    /** 准时评分 */
    @Excel(name = "准时评分")
    private Double starTimely;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setPwd(String pwd) 
    {
        this.pwd = pwd;
    }

    public String getPwd() 
    {
        return pwd;
    }

    public void setSuppliName(String suppliName) 
    {
        this.suppliName = suppliName;
    }

    public String getSuppliName() 
    {
        return suppliName;
    }

    public void setIsdel(String isdel) 
    {
        this.isdel = isdel;
    }

    public String getIsdel() 
    {
        return isdel;
    }

    public void setCtime(Date ctime) 
    {
        this.ctime = ctime;
    }

    public Date getCtime() 
    {
        return ctime;
    }

    public void setAddr(String addr) 
    {
        this.addr = addr;
    }

    public String getAddr() 
    {
        return addr;
    }

    public String getReviewTime() {
        return reviewTime;
    }

    public void setReviewTime(String reviewTime) {
        this.reviewTime = reviewTime;
    }

    public String getCardZ() {
        return cardZ;
    }

    public void setCardZ(String cardZ) {
        this.cardZ = cardZ;
    }

    public String getCardF() {
        return cardF;
    }

    public void setCardF(String cardF) {
        this.cardF = cardF;
    }

    public String getZz() {
        return zz;
    }

    public void setZz(String zz) {
        this.zz = zz;
    }

    public String getReviewRemark() {
        return reviewRemark;
    }

    public void setReviewRemark(String reviewRemark) {
        this.reviewRemark = reviewRemark;
    }

    public Double getStarService() {
        return starService;
    }

    public void setStarService(Double starService) {
        this.starService = starService;
    }

    public Double getStarQuality() {
        return starQuality;
    }

    public void setStarQuality(Double starQuality) {
        this.starQuality = starQuality;
    }

    public Double getStarTimely() {
        return starTimely;
    }

    public void setStarTimely(Double starTimely) {
        this.starTimely = starTimely;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("status", getStatus())
            .append("pwd", getPwd())
            .append("suppliName", getSuppliName())
            .append("isdel", getIsdel())
            .append("ctime", getCtime())
            .append("addr", getAddr())
            .append("cardZ", getCardZ())
            .append("cardF", getCardF())
                .append("zz", getZz())
                .append("reviewTime", getReviewTime())
                .append("reviewRemark", getReviewRemark())

                .append("starService", getStarService())
                .append("starQuality", getStarQuality())
                .append("starTimely", getStarTimely())
            .toString();
    }
}
